<script type="text/javascript" src="/library/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">

$(document).ready(function() {

	tinyMCE.init({
	mode : "textareas",	
	theme : "advanced",
	width : "400",
	height : "300",
	plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
	editor_selector : "mceAdvanced",
	theme_advanced_toolbar_location : "top",
	theme_advanced_resizing : true,
	//Example content CSS (should be your site CSS)
	content_css : "css/example.css",
	template_external_list_url : "js/template_list.js",
	external_link_list_url : "js/link_list.js",
	external_image_list_url : "js/image_list.js",
	media_external_list_url : "js/media_list.js",
	// Replace values for the template plugin

	template_replace_values : {
	username : "Some User",
	staffid : "991234"

	}

});


});
</script>   
<h2><a href="#">Divisas</a> &raquo; <a href="#" class="active">Nuevo Divisa</a></h2>
	<div id="main">
		<fieldset>
			<form action="<?=$this->form->getAction()?>" method="<?=$this->form->getMethod()?>">
				<div class="subForm">	
				    <?=$this->form->getSubForm("common") ?>
				</div>
				<?= $this->form->getElement("add") ?>
			</form>
        </fieldset>
	</div>
    <div class="clear"></div> 